home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / con2v766.zip / colore01.zip / man colorer < prev    next >
Text File  |  2000-08-22  |  2KB  |  76 lines

  1.         -------======= colorer features demo file =======-------
  2.                  press F6 here - if you are viewing it now
  3.  
  4. "foo \" bar \n\" foo \\\\"  - C/C++ strings. really cool?
  5.  
  6.    0x123ABC   - C/C++ Hex.                   1234    - Decimal.
  7.    0x123ZABC  - Incorrect Hex.               2.4e+5  - Exponential.
  8.    100101b    - Asm Binary.                  1234Dh  - Asm Hex.
  9.  
  10.    http://www.uic.nnov.ru/~ruiv/           - My HomePage :)
  11.    ruiv@uic.nnov.ru                        - My EMail.
  12.    2:5666/6666.666                         - Fido Address :)
  13.  
  14.    5069/10
  15.  
  16. // standard C/C++ line comments.
  17. *  fortran comments - first position only - try to move it!
  18.  
  19. /* /*  Nested Comments - easy deed  */
  20. /* foo /* bar /* fooo */ bar */ foo */
  21. /*  really too easy for colorer  */ */
  22.  
  23. q!foobar! - Perl Strings. q#barfoo# - Not only ! and # - ANY char!
  24.  
  25. print <<_text_;     - Perl constructions.
  26. @foo $bar
  27. interpolated perl variables
  28. full perl support
  29. _text_
  30.  
  31. This is an Asm {
  32. @@Hang:
  33.     Cli
  34.     jmp @@Hang
  35. };
  36.  
  37. And C...{
  38.   if (Parent != &Cache)
  39.     ret = Colorize(Parent->ClEnder->end, Parent->bkcol);
  40.   return true;
  41.   // Really - 'Asm' in 'C'! You like it?
  42.   __asm{
  43.     mov ax, 4C00h /* C Comments in Asm code - it works! */
  44.     int 21h
  45.     // Without bugs!
  46.   };
  47. };
  48.  
  49. And look here - Html (*
  50. <html>
  51. <head>
  52. <style><!--
  53.   /* CSS includes - easy deed */
  54.   h1, h2, h3 ,h4 {
  55.     font-family: impact, arial, helvetica;
  56.     font-size: 19pt;
  57.   };
  58. --></style>
  59. </head>
  60. <body BGColor="#000000" Text="#B5B5B5" LINK="#FFFFFF"
  61. onload="window.defaultStatus='About Igor Ruskih/Cail Lomecb';LoadCash();">
  62. <script language="JavaScript">
  63.    <!--//
  64.    // JavaScript in Html - it works! Really!
  65.    // Have you ever saw it before?
  66.    var roll = document.images != null;
  67.    Anim = new Array(5);
  68.    function InitAnim(name)
  69.    {
  70.      if (!roll) return;
  71.      Anim[ANum] = new Array(6);
  72.      Anim[ANum][0] = new Image();
  73.      //...
  74. </script>
  75. *)
  76.                                    s|And ($many)+ other features ...|foo|ig;